<template>
    <div>
      <h1>Hello Vue 3</h1>
      <button @click="count++">{{ count }}</button>        
    </div>
  </template>      
  
  <script lang="ts">
  import { defineComponent, ref } from 'vue'
  
  export default defineComponent({
    name: 'App',
    setup() {
      const count = ref(0)
      return { count }
    }
  })
  </script>
  
  <style>
  h1 {
    color: red;
  }
  </style>